package com.yonyou.ncmm_pac_pda;

import com.yonyou.uap.um.application.ApplicationContext;
import com.yonyou.uap.um.base.*;
import com.yonyou.uap.um.common.*;
import com.yonyou.uap.um.third.*;
import com.yonyou.uap.um.control.*;
import com.yonyou.uap.um.core.*;
import com.yonyou.uap.um.binder.*;
import com.yonyou.uap.um.runtime.*;
import com.yonyou.uap.um.lexer.*;
import com.yonyou.uap.um.widget.*;
import com.yonyou.uap.um.widget.UmpSlidingLayout.SlidingViewType;
import com.yonyou.uap.um.log.ULog;
import java.util.*;
import android.os.*;
import android.view.*;
import android.widget.*;
import android.webkit.*;
import android.content.*;
import android.graphics.*;
import android.widget.ImageView.ScaleType;

public abstract class WrDetailPageActivity extends UMWindowActivity {

	protected UMWindow WrDetailPage = null;
protected UMScrollView Scrollview_viewPage0 = null;
protected XVerticalLayout viewPage0 = null;
protected XHorizontalLayout navigatorbar0 = null;
protected UMButton button0 = null;
protected XHorizontalLayout panel0 = null;
protected UMLabel label1 = null;
protected UMTextbox textbox0 = null;
protected UMImageButton imagebutton0 = null;
protected XHorizontalLayout panel1 = null;
protected UMLabel label3 = null;
protected UMTextbox textbox1 = null;
protected XHorizontalLayout panel2 = null;
protected UMLabel label5 = null;
protected UMTextbox textbox2 = null;
protected XHorizontalLayout panel3 = null;
protected UMLabel label7 = null;
protected UMTextbox textbox3 = null;
protected XHorizontalLayout panel4 = null;
protected UMLabel label9 = null;
protected UMTextbox textbox4 = null;
protected XHorizontalLayout panel5 = null;
protected UMLabel label11 = null;
protected UMTextbox textbox5 = null;
protected XHorizontalLayout panel6 = null;
protected UMLabel label13 = null;
protected UMTextbox textbox6 = null;
protected XHorizontalLayout panel7 = null;
protected UMLabel label15 = null;
protected UMNumberEdit number0 = null;
protected XHorizontalLayout panel8 = null;
protected UMLabel label17 = null;
protected UMNumberEdit number1 = null;
protected XHorizontalLayout panel9 = null;
protected UMLabel label19 = null;
protected UMDateTimeEdit datetimeinput0 = null;
protected XHorizontalLayout panel11 = null;
protected UMButton button1 = null;
protected UMButton button2 = null;
protected UMButton button3 = null;
protected XRelativeLayout panel10 = null;

	
	protected final static int ID_WRDETAILPAGE = 1413683768;
protected final static int ID_SCROLLVIEW_VIEWPAGE0 = 1853131200;
protected final static int ID_VIEWPAGE0 = 569689367;
protected final static int ID_NAVIGATORBAR0 = 644637356;
protected final static int ID_BUTTON0 = 478467725;
protected final static int ID_PANEL0 = 502135255;
protected final static int ID_LABEL1 = 754445207;
protected final static int ID_TEXTBOX0 = 2021485172;
protected final static int ID_IMAGEBUTTON0 = 1308026162;
protected final static int ID_PANEL1 = 1178787703;
protected final static int ID_LABEL3 = 807365949;
protected final static int ID_TEXTBOX1 = 1666276610;
protected final static int ID_PANEL2 = 354039717;
protected final static int ID_LABEL5 = 691227831;
protected final static int ID_TEXTBOX2 = 1692060435;
protected final static int ID_PANEL3 = 614631558;
protected final static int ID_LABEL7 = 1184902277;
protected final static int ID_TEXTBOX3 = 1911582788;
protected final static int ID_PANEL4 = 1663532232;
protected final static int ID_LABEL9 = 177454304;
protected final static int ID_TEXTBOX4 = 488255624;
protected final static int ID_PANEL5 = 1402873933;
protected final static int ID_LABEL11 = 200249401;
protected final static int ID_TEXTBOX5 = 194953372;
protected final static int ID_PANEL6 = 197614250;
protected final static int ID_LABEL13 = 2038922635;
protected final static int ID_TEXTBOX6 = 1161221282;
protected final static int ID_PANEL7 = 1826027408;
protected final static int ID_LABEL15 = 956558064;
protected final static int ID_NUMBER0 = 126969585;
protected final static int ID_PANEL8 = 1863119500;
protected final static int ID_LABEL17 = 228694542;
protected final static int ID_NUMBER1 = 785662419;
protected final static int ID_PANEL9 = 2141647583;
protected final static int ID_LABEL19 = 816090055;
protected final static int ID_DATETIMEINPUT0 = 867301484;
protected final static int ID_PANEL11 = 157896354;
protected final static int ID_BUTTON1 = 418351999;
protected final static int ID_BUTTON2 = 321888178;
protected final static int ID_BUTTON3 = 279985113;
protected final static int ID_PANEL10 = 780762642;

	
	
	@Override
	public String getControllerName() {
		return "WrDetailPageController";
	}
	
	@Override
	public String getContextName() {
		return "";
	}

	@Override
	public String getNameSpace() {
		return "com.yonyou.ncmm_pac_pda";
	}

	protected void onCreate(Bundle savedInstanceState) {
		ULog.logLC("onCreate", this);
		super.onCreate(savedInstanceState);
        onInit(savedInstanceState);
        
	}
	
	@Override
	protected void onStart() {
		ULog.logLC("onStart", this);
		
		super.onStart();
	}

	@Override
	protected void onRestart() {
		ULog.logLC("onRestart", this);
		
		super.onRestart();
	}

	@Override
	protected void onResume() {
		ULog.logLC("onResume", this);
		
		super.onResume();
	}

	@Override
	protected void onPause() {
		ULog.logLC("onPause", this);
		
		super.onPause();
	}

	@Override
	protected void onStop() {
		ULog.logLC("onStop", this);
		
		super.onStop();
	}

	@Override
	protected void onDestroy() {
		ULog.logLC("onDestroy", this);
		
		super.onDestroy();
	}
	
	public  void onInit(Bundle savedInstanceState) {
		ULog.logLC("onInit", this);
		UMActivity context = this;
		registerControl();
		this.getContainer();
		
		/*
		 new Thread() {
			 public void run() {
				 UMPDebugClient.startServer();
			 }
		 }.start();
		*/
		String sys_debug = ApplicationContext.getCurrent(this).getValue("sys_debug");
		if (sys_debug != null && sys_debug.equalsIgnoreCase("true")) {
			UMPDebugClient.waitForDebug();
		}

		IBinderGroup binderGroup = this;
		currentPage = getCurrentWindow(context, binderGroup);
super.setContentView(currentPage);

		
	}
	
	private void registerControl() {
		  idmap.put("WrDetailPage",ID_WRDETAILPAGE);
  idmap.put("Scrollview_viewPage0",ID_SCROLLVIEW_VIEWPAGE0);
  idmap.put("viewPage0",ID_VIEWPAGE0);
  idmap.put("navigatorbar0",ID_NAVIGATORBAR0);
  idmap.put("button0",ID_BUTTON0);
  idmap.put("panel0",ID_PANEL0);
  idmap.put("label1",ID_LABEL1);
  idmap.put("textbox0",ID_TEXTBOX0);
  idmap.put("imagebutton0",ID_IMAGEBUTTON0);
  idmap.put("panel1",ID_PANEL1);
  idmap.put("label3",ID_LABEL3);
  idmap.put("textbox1",ID_TEXTBOX1);
  idmap.put("panel2",ID_PANEL2);
  idmap.put("label5",ID_LABEL5);
  idmap.put("textbox2",ID_TEXTBOX2);
  idmap.put("panel3",ID_PANEL3);
  idmap.put("label7",ID_LABEL7);
  idmap.put("textbox3",ID_TEXTBOX3);
  idmap.put("panel4",ID_PANEL4);
  idmap.put("label9",ID_LABEL9);
  idmap.put("textbox4",ID_TEXTBOX4);
  idmap.put("panel5",ID_PANEL5);
  idmap.put("label11",ID_LABEL11);
  idmap.put("textbox5",ID_TEXTBOX5);
  idmap.put("panel6",ID_PANEL6);
  idmap.put("label13",ID_LABEL13);
  idmap.put("textbox6",ID_TEXTBOX6);
  idmap.put("panel7",ID_PANEL7);
  idmap.put("label15",ID_LABEL15);
  idmap.put("number0",ID_NUMBER0);
  idmap.put("panel8",ID_PANEL8);
  idmap.put("label17",ID_LABEL17);
  idmap.put("number1",ID_NUMBER1);
  idmap.put("panel9",ID_PANEL9);
  idmap.put("label19",ID_LABEL19);
  idmap.put("datetimeinput0",ID_DATETIMEINPUT0);
  idmap.put("panel11",ID_PANEL11);
  idmap.put("button1",ID_BUTTON1);
  idmap.put("button2",ID_BUTTON2);
  idmap.put("button3",ID_BUTTON3);
  idmap.put("panel10",ID_PANEL10);

	}
	
	public void onLoad() {
		ULog.logLC("onLoad", this);
		if(currentPage!=null) {
			currentPage.onLoad();
		}
	
		
	}
	
	public void onDatabinding() {
		ULog.logLC("onDatabinding", this);
		super.onDatabinding();
		
	}
	
	@Override
	public void onReturn(String methodName, Object returnValue) {
		
	}

	@Override
	public void onAfterInit() {
		ULog.logLC("onAfterInit", this);
		
		onLoad();
	}
	
		@Override
	public Map<String,String> getPlugout(String id) {
		XJSON from = this.getUMContext();
		Map<String,String> r = super.getPlugout(id);
		
		return r;	
	}
	
	
	
	public View getNavigatorbar0View(final UMActivity context,IBinderGroup binderGroup) {
navigatorbar0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_NAVIGATORBAR0
,"color","#323232"
,"padding-left","8"
,"font-size","17"
,"valign","center"
,"title","生产报告"
,"width","fill"
,"font-family","default"
,"background-image","navbar_login.png"
,"layout-type","vbox"
,"halign","LEFT"
,"padding-right","8"
,"height","44.0"
);
button0 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON0
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button0_onclick"
,"padding-left","20"
,"font-size","20"
,"valign","center"
,"width","80"
,"font-family","default"
,"background-image","btn_back"
,"layout-type","hbox"
,"halign","left"
,"height","fill"
,"pressed-image","btn_back_touch"
);
navigatorbar0.addView(button0);

return navigatorbar0;
}
public View getPanel0View(final UMActivity context,IBinderGroup binderGroup) {
panel0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL0
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label1 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL1
,"color","#333333"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"content","条码"
,"margin-right","4"
,"height","fill"
);
panel0.addView(label1);
textbox0 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX0
,"onfocus","action:textbox0_onfocus"
,"color","#167ef8"
,"maxlength","256"
,"padding-left","4"
,"onchange","action:textbox0_onchange"
,"weight","1"
,"font-size","14"
,"autofocus","autofocus"
,"bindfield","barcode"
,"width","0"
,"font-family","default"
,"placeholder","请扫描条码"
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel0.addView(textbox0);
imagebutton0 = (UMImageButton)ThirdControl.createControl(new UMImageButton(context),ID_IMAGEBUTTON0
,"font-pressed-color","#e50011"
,"color","#ff0000"
,"icon-pressed-image","scaner_touch.png"
,"onclick","action:imagebutton0_onclick"
,"icon-height","40"
,"font-size","14"
,"valign","center"
,"icon-text-spacing","3"
,"widthwrap","40.0"
,"imagebuttontype","icon"
,"heightwrap","40.0"
,"icon-background-image","scaner.png"
,"istogglebutton","false"
,"width","wrap"
,"checked","false"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"icon-width","40"
,"value","图标名称"
,"height","wrap"
);
panel0.addView(imagebutton0);

return panel0;
}
public View getPanel1View(final UMActivity context,IBinderGroup binderGroup) {
panel1 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL1
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label3 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL3
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","80.0"
,"content","生产订单号"
,"margin-right","4"
,"height","fill"
);
panel1.addView(label3);
textbox1 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX1
,"color","#666666"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","14"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder","请输入生产订单号"
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel1.addView(textbox1);

return panel1;
}
public View getPanel2View(final UMActivity context,IBinderGroup binderGroup) {
panel2 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL2
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label5 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL5
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","64.0"
,"content","行号"
,"margin-right","4"
,"height","fill"
);
panel2.addView(label5);
textbox2 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX2
,"color","#666666"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","14"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder","请输入行号"
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel2.addView(textbox2);

return panel2;
}
public View getPanel3View(final UMActivity context,IBinderGroup binderGroup) {
panel3 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL3
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label7 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL7
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","64.0"
,"content","产品编码"
,"margin-right","4"
,"height","fill"
);
panel3.addView(label7);
textbox3 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX3
,"color","#666666"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","14"
,"bindfield","code"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder","请输入产品编码"
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel3.addView(textbox3);

return panel3;
}
public View getPanel4View(final UMActivity context,IBinderGroup binderGroup) {
panel4 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL4
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label9 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL9
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","80.0"
,"content","产品名称"
,"margin-right","4"
,"height","fill"
);
panel4.addView(label9);
textbox4 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX4
,"color","#666666"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","14"
,"width","0"
,"disabled","disabled"
,"font-family","default"
,"placeholder","请输入产品名称"
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel4.addView(textbox4);

return panel4;
}
public View getPanel5View(final UMActivity context,IBinderGroup binderGroup) {
panel5 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL5
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label11 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL11
,"color","#333333"
,"width","80"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"content","生产批次号"
,"margin-right","4"
,"height","fill"
);
panel5.addView(label11);
textbox5 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX5
,"color","#666666"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","14"
,"bindfield","vprodbatchcode"
,"width","0"
,"font-family","default"
,"placeholder","请输入生产批次号"
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel5.addView(textbox5);

return panel5;
}
public View getPanel6View(final UMActivity context,IBinderGroup binderGroup) {
panel6 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL6
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label13 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL13
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","64.0"
,"content","序列号"
,"margin-right","4"
,"height","fill"
);
panel6.addView(label13);
textbox6 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX6
,"color","#666666"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","14"
,"bindfield","vserialcode"
,"width","0"
,"font-family","default"
,"placeholder","请输入序列号"
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel6.addView(textbox6);

return panel6;
}
public View getPanel7View(final UMActivity context,IBinderGroup binderGroup) {
panel7 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL7
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label15 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL15
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","80.0"
,"content","完工数量"
,"margin-right","4"
,"height","fill"
);
panel7.addView(label15);
number0 = (UMNumberEdit)ThirdControl.createControl(new UMNumberEdit(context),ID_NUMBER0
,"color","#167ef8"
,"max","9.99999999E8"
,"precision","2"
,"padding-left","4"
,"roundtype","value"
,"weight","1"
,"font-size","17"
,"roundvalue","5"
,"min","-9.99999999E8"
,"bindfield","wrnum"
,"width","0"
,"font-family","default"
,"placeholder","1"
,"layout-type","hbox"
,"halign","RIGHT"
,"padding-right","4"
,"height","fill"
);
panel7.addView(number0);

return panel7;
}
public View getPanel8View(final UMActivity context,IBinderGroup binderGroup) {
panel8 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL8
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label17 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL17
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","96.0"
,"content","完工主数量"
,"margin-right","4"
,"height","fill"
);
panel8.addView(label17);
number1 = (UMNumberEdit)ThirdControl.createControl(new UMNumberEdit(context),ID_NUMBER1
,"color","#167ef8"
,"max","9.99999999E8"
,"precision","2"
,"padding-left","4"
,"roundtype","value"
,"weight","1"
,"font-size","17"
,"roundvalue","5"
,"min","-9.99999999E8"
,"bindfield","wrastnum"
,"width","0"
,"font-family","default"
,"placeholder","1"
,"layout-type","hbox"
,"halign","RIGHT"
,"padding-right","4"
,"height","44"
);
panel8.addView(number1);

return panel8;
}
public View getPanel9View(final UMActivity context,IBinderGroup binderGroup) {
panel9 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL9
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","40"
);
label19 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL19
,"color","#333333"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","96.0"
,"content","实际完工时间"
,"margin-right","4"
,"height","fill"
);
panel9.addView(label19);
datetimeinput0 = (UMDateTimeEdit)ThirdControl.createControl(new UMDateTimeEdit(context),ID_DATETIMEINPUT0
,"color","#167ef8"
,"format","yyyy-MM-dd HH:mm"
,"width","0"
,"weight","1"
,"font-size","17"
,"font-family","default"
,"placeholder","2016-09-28 15:12"
,"layout-type","hbox"
,"halign","RIGHT"
,"value","2016-10-09 15:04:57"
,"height","fill"
);
panel9.addView(datetimeinput0);

return panel9;
}
public View getPanel11View(final UMActivity context,IBinderGroup binderGroup) {
panel11 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL11
,"padding-left","10"
,"width","fill"
,"margin-top","10"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","50"
);
button1 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON1
,"font-pressed-color","#f2adb2"
,"color","#ffffff"
,"onclick","action:button1_onclick"
,"font-size","17"
,"valign","center"
,"margin-right","15"
,"margin-left","30"
,"background","#ff0000"
,"width","80.0"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","扫描记录"
,"height","40"
);
panel11.addView(button1);
button2 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON2
,"font-pressed-color","#f2adb2"
,"color","#ffffff"
,"onclick","action:button2_onclick"
,"font-size","17"
,"valign","center"
,"margin-right","15"
,"margin-left","15"
,"background","#ff0000"
,"width","80.0"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","暂存"
,"height","40"
);
panel11.addView(button2);
button3 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON3
,"font-pressed-color","#f2adb2"
,"color","#ffffff"
,"onclick","action:button3_onclick"
,"font-size","17"
,"valign","center"
,"margin-right","50"
,"margin-left","15"
,"background","#ff0000"
,"width","80.0"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","提交"
,"height","40"
);
panel11.addView(button3);

return panel11;
}
public View getViewPage0View(final UMActivity context,IBinderGroup binderGroup) {
viewPage0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_VIEWPAGE0
,"background","#F5F5F5"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","wrap"
);
View navigatorbar0 = (View) getNavigatorbar0View((UMActivity)context,binderGroup);
viewPage0.addView(navigatorbar0);
View panel0 = (View) getPanel0View((UMActivity)context,binderGroup);
viewPage0.addView(panel0);
View panel1 = (View) getPanel1View((UMActivity)context,binderGroup);
viewPage0.addView(panel1);
View panel2 = (View) getPanel2View((UMActivity)context,binderGroup);
viewPage0.addView(panel2);
View panel3 = (View) getPanel3View((UMActivity)context,binderGroup);
viewPage0.addView(panel3);
View panel4 = (View) getPanel4View((UMActivity)context,binderGroup);
viewPage0.addView(panel4);
View panel5 = (View) getPanel5View((UMActivity)context,binderGroup);
viewPage0.addView(panel5);
View panel6 = (View) getPanel6View((UMActivity)context,binderGroup);
viewPage0.addView(panel6);
View panel7 = (View) getPanel7View((UMActivity)context,binderGroup);
viewPage0.addView(panel7);
View panel8 = (View) getPanel8View((UMActivity)context,binderGroup);
viewPage0.addView(panel8);
View panel9 = (View) getPanel9View((UMActivity)context,binderGroup);
viewPage0.addView(panel9);
View panel11 = (View) getPanel11View((UMActivity)context,binderGroup);
viewPage0.addView(panel11);
panel10 = (XRelativeLayout)ThirdControl.createControl(new XRelativeLayout(context),ID_PANEL10
,"heightwrap","0.0"
,"width","fill"
,"margin-top","130"
,"valign","CENTER"
,"layout-type","vbox"
,"halign","CENTER"
,"height","wrap"
);
viewPage0.addView(panel10);

return viewPage0;
}
public View getScrollview_viewPage0View(final UMActivity context,IBinderGroup binderGroup) {
Scrollview_viewPage0 = (UMScrollView)ThirdControl.createControl(new UMScrollView(context),ID_SCROLLVIEW_VIEWPAGE0
,"layout","vbox"
,"width","fill"
,"hscrollenabled","disabled"
,"layout-type","vbox"
,"height","fill"
);
View viewPage0 = (View) getViewPage0View((UMActivity)context,binderGroup);
Scrollview_viewPage0.addView(viewPage0);

return Scrollview_viewPage0;
}
public UMWindow getCurrentWindow(final UMActivity context,IBinderGroup binderGroup) {
WrDetailPage = (UMWindow)ThirdControl.createControl(new UMWindow(context),ID_WRDETAILPAGE
,"layout","vbox"
,"canvaswidth","375"
,"orientation","vertical"
,"controller","WrDetailPageController"
,"canvasheight","667"
,"namespace","com.yonyou.ncmm_pac_pda"
,"width","fill"
,"valign","TOP"
,"layout-type","linear"
,"halign","center"
,"height","fill"
);
View Scrollview_viewPage0 = (View) getScrollview_viewPage0View((UMActivity)context,binderGroup);
WrDetailPage.addView(Scrollview_viewPage0);

return (UMWindow)WrDetailPage;
}

	
	public void actionButton1_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button1_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.button1_onclick()",UMActivity.getViewId(control),args);
}
public void actionImagebutton0_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "imagebutton0_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.imagebutton0_onclick()",UMActivity.getViewId(control),args);
}
public void actionButton2_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button2_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.button2_onclick()",UMActivity.getViewId(control),args);
}
public void actionTextbox0_onfocus(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "textbox0_onfocus";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.onfocus()",UMActivity.getViewId(control),args);
}
public void actionButton3_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button3_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.button3_onclick()",UMActivity.getViewId(control),args);
}
public void actionButton0_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button0_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.button0_onclick()",UMActivity.getViewId(control),args);
}
public void actionTextbox0_onchange(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "textbox0_onchange";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.onchange()",UMActivity.getViewId(control),args);
}


}
